package com.huang.weic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huang.weic.bean.Vo.descpVo;
import com.huang.weic.bean.descp;
import com.huang.weic.mapper.DescMapper;
import com.huang.weic.service.DescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DescServiceImpl extends ServiceImpl<DescMapper, descp> implements DescService {

    @Autowired
    private DescMapper descMapper;

    @Override
    public descpVo selectOneplay(String name) {
        descpVo one=  descMapper.getOnePlay(name);
        return one;
    }

    @Override
    public descpVo selectOneFood(String name) {
        descpVo one=  descMapper.getOnefood(name);
        return one;
    }
}
